home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000073_KentMartin@TexasHealth.org_Wed Dec 24 14:41:18 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!fu-berlin.de!postnews1.google.com!not-for-mail
From: KentMartin@TexasHealth.org (Kent W. Martin)
Newsgroups: comp.protocols.kermit.misc
Subject: Problem with increment command
Date: 24 Dec 2003 11:03:09 -0800
Organization: http://groups.google.com
Lines: 30
Message-ID: <b97068c6.0312241103.2fd8cac7@posting.google.com>
NNTP-Posting-Host: 208.189.200.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1072292589 20575 127.0.0.1 (24 Dec 2003 19:03:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 24 Dec 2003 19:03:09 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14754
I'm running Kermit 95 1.1.20 on a Windows 2000 server. Every several
months (yes, it's that infrequent!) one of my scripts has an error
with an increment statement.
Code with comments and extraneous stuff removed:
local secsToAdd baseTime
assign secsToAdd \Ftod2secs(...)
assign baseTime \Ftod2secs(...)
echo {secsToAdd: "\m(secsToAdd)".}
echo {baseTime: "\m(baseTime)".}
increment baseTime \m(secsToAdd)
echo {baseTime: "\m(baseTime)".}
Results:
secsToAdd: "88".
baseTime: "16509".
baseTime: "1659Q".
Last time I checked 16509+88=16597. Not sure where 1659Q comes from.
Any ideas what could be happening here? Meanwhile I'll check on
moving this script over to the latest version of Kermit95.
Regards,
Kent
--------------
Kent W. Martin
Texas Health Resources